<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>RKNPU DDK: tensor.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RKNPU DDK
   &#160;<span id="projectnumber">1.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_063fc4e4818385ae84b46306c1f7aeef.html">rknpu</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">tensor.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;memory&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &quot;<a class="el" href="types_8h_source.html">rknpu/types.h</a>&quot;</code><br />
</div>
<p><a href="tensor_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_quantization_param_d_f_p.html">QuantizationParamDFP</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_quantization_param_affine_asymmetric.html">QuantizationParamAffineAsymmetric</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_quantization_param_symmetric.html">QuantizationParamSymmetric</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrk_1_1nn_1_1_tensor_attr.html">TensorAttr</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classrk_1_1nn_1_1_tensor.html">Tensor</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacerk"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk.html">rk</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacerk_1_1nn"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk_1_1nn.html">rk::nn</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab7117a78440b149f5bec3994079bb08b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08b">TensorRole</a> { <a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08bad6f4440b8633f973d33c78928bdac2e1">VAR</a> = 0, 
<a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08bab4f1540c6f7bdeebaa42943a2405478d">CONST</a>, 
<a class="el" href="namespacerk_1_1nn.html#ab7117a78440b149f5bec3994079bb08bae44f9e348e41cb272efa87387728571b">DATA</a>
 }</td></tr>
<tr class="separator:ab7117a78440b149f5bec3994079bb08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13c421245f43fd2d7edd0e94c537965d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965d">PrecisionType</a> : int { <br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da696b031073e74bf2cb98e5ef201d4aa3">UNKNOWN</a> = 0, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965daee9d73311ff0658494edfff14c3ec1e3">INT8</a> = 1, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da5f90af42814c0a419d715d43ae54fd7a">INT16</a>, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da6495adba09844fac8eeb0aba86e6f1bf">INT32</a>, 
<br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da4e866b275c85fbb439f6484251cfb31c">INT64</a>, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965daecfc091ed2a607335524c8389cfa41b5">UINT8</a> = 5, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da48d8f1a723d44ff4a87db1bb6c551c62">UINT16</a>, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da17266551181f69a1b4a3ad5c9e270afc">UINT32</a>, 
<br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da6de7acf711860176ba606e9aa2b85d5f">UINT64</a>, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965dac49f280a5ad551ccc77be0b01a2f386a">FLOAT16</a> = 9, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da967d280b5c16d95f2947647dd2ca6cc2">FLOAT32</a>, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da139882c654db8a57f7c3092de1dd0b02">FLOAT64</a>, 
<br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da05afd9eb8887a406d47474cd3809a5dd">BOOL8</a> = 12, 
<a class="el" href="namespacerk_1_1nn.html#a13c421245f43fd2d7edd0e94c537965da44119bf3bae5d40a8d0766b91c304aac">NUM</a> = 13
<br />
 }</td></tr>
<tr class="separator:a13c421245f43fd2d7edd0e94c537965d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a208f6d2ebb490c7877041482cf7da65c"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65c">DataLayoutType</a> : int { <br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65ca696b031073e74bf2cb98e5ef201d4aa3">UNKNOWN</a> = 0, 
<a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65ca6b99f356fe3b30a2a850b5ea897c289f">NCHW</a> = 1, 
<a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65cad066db54b89b0912e7e7c6da51e2da51">NHWC</a> = 2, 
<a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65ca8e1bde3c3d303163521522cf1d62f21f">ANY</a> = 3, 
<br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a208f6d2ebb490c7877041482cf7da65ca44119bf3bae5d40a8d0766b91c304aac">NUM</a> = 4
<br />
 }</td></tr>
<tr class="separator:a208f6d2ebb490c7877041482cf7da65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a46b5533bfcf042c3091803849e5e7b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7b">QuantizationType</a> : int { <br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7bab50339a10e1de285ac99d4c3990b8693">NONE</a> = 0, 
<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7babc43d77a9ea8c3c15bfea9485ffdfbd7">DFP</a>, 
<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7bae036b1833c7b7210fde86c7afd97b163">AFFINE_ASYMMETRIC</a>, 
<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7ba3a4d3e5596d7ee29d493aeb17cb485ff">AFFINE_PERCHANNEL_SYMMETRIC</a>, 
<br />
&#160;&#160;<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7ba161b3d9016563aba9ac190fc02ada9bb">SYMMETRIC</a>, 
<a class="el" href="namespacerk_1_1nn.html#a0a46b5533bfcf042c3091803849e5e7bad4cd0dabcf4caa22ad92fab40844c786">NA</a> = 0xff
<br />
 }</td></tr>
<tr class="separator:a0a46b5533bfcf042c3091803849e5e7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
